package com.test;

class Parent1 {
    Parent1(String s){
        System.out.println(s);
    }
}
class Parent2 extends Parent1{
    Parent2(){
        super("shabi");
        System.out.println("parent2");
    }
}
 class Child extends Parent2 {
    public static void main(String[] args) {
        new Child();
    }
}
